@charset "UTF-8";
@import url(keyframes.css);

.one h1{
    /* 使字本身不显示 */
    /* font-size: 0; */
    text-shadow: 0px 0px 10px #e9ceb4;

    font-family: hole;
    font-weight: normal;

    text-transform: uppercase;
    font-size: 1em;

    padding-top: 3%;
    padding-bottom: 2%;
}

/* save the date 样式 */
.one h2{
    /* 使字本身不显示 */
    /* font-size: 0; */

    /* text-shadow: 10px 10px 10px #000; */

    font-family: DryBrush;
    font-weight: normal;

    font-size: 4.5em;

    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
}


/* 喜帖字样 */
.one h3{

    /* float: left; */
    font-size: 5em;
    font-weight: bolder;
    
    /* background-image: url(images/xi.png); */

    font-family: thingold;

    margin-top: 4%;
    /* 字间距 */
    letter-spacing: 10px; 
    
    /* background: linear-gradient(to right,#e9ceb4 rgba(233,191,120,1)); */
}

/* groom birdge */
.one h4{
    
    font-size: 2em;
    font-family: thingold;
    margin-top: 4%;
    margin-bottom: 2%;
}

.one h5{
    font-size: 1em;
    font-family: hole;
    text-transform: uppercase;
    margin-top: 2%;
}

/* please save the date */
.one h6{
    font-size: 1em;
    font-family: DryBrush;
    margin-top: 5%;
}

/* 日期信息样式 */
.one .dateinfo{

    width: 100%;
    margin-top: 3%;
    overflow: hidden;
}

.one .dateinfo div{
    float: left;
    width: 28%;
}
/* 修改h1样式 */
.dateinfo h1{
    font-size: 1.5em;
    /* font-family: thinglod; */
    text-transform: uppercase;
    text-shadow: none;   
}
/* 修改h3样式 */
.dateinfo h3{
    
    letter-spacing: 0;
}
.timeinfo{
    margin: 0 4%;
}
.timeinfo h1{
    border-bottom: 2px solid rgba(233,191,120,1);
    /* margin: 10% 10% 1% 0;
    padding-bottom: 10px; */
    /* padding-right: 10px; */
}
.timeinfo h3{
    font-size: 1.5em;
    font-family: hole;

    margin-top: 1%;
    padding-top: 10px;
}
.yearinfo{
    border-left: 2px solid rgba(233,191,120,1);
    border-right: 2px solid rgba(233,191,120,1);
}
.yearinfo h1{
    font-size: 3em;
}

.addressinfo{
    margin: 0 3%;
}

.addressinfo h1{
    border-bottom: 2px solid rgba(233,191,120,1);
    border-bottom: 2px solid rgba(233,191,120,1);
    /* margin: 10% 10px 10px 15px;
    padding-bottom: 10px; */
}
.addressinfo h3{
    font-size: 1.5em;
    font-family: thingold;
    font-weight: bolder;

    margin-top: 1%;
    padding-top: 10px;
}
#onedancegif{
    display: none;
}
.onegif{
    position: fixed;
    bottom:7%;
    left:27%;
}
@media screen and (max-device-width: 320px){
    .one h1 {
        font-size: .8em;
        margin-top: 0%;
    }
    .one h2{
        font-size: 3em;
        margin-top: 6%;
    } 
     
    .one h3{
        font-size: 3.5em;
        margin-top: 6%;
    } 
    .one h4 {
        font-size:1.5em;
        margin-bottom: 6%;
    }
    .dateinfo .yearinfo h1{
        font-size: 2em;
    } 
    .dateinfo .timeinfo h1{
        font-size: 1em;
    } 
    .dateinfo .timeinfo h3{
        font-size: 1em;
    } 
    .dateinfo .addressinfo h1{
        font-size: 1em;
    }  
    .dateinfo .addressinfo h3{
        font-size: .8em;
    }  
    .one h5{
        font-size: .8em;
        margin-top: 6%;
    }
}
@media  screen and (max-device-width:539px)  and (min-device-width:321px) {
    .one h1 {
        margin-top: 4%;
    }
    .one h2{
        font-size: 3.5em;
        margin-top: 12%;
    }  
    .one h3{
        /* margin-top: 12%; */
        /* font-size: 2em; */
        margin-top: 0%;
    } 
    .one h4 {
        margin-bottom: 12%;
        font-size: 1.5em;
    }
    
    .dateinfo .yearinfo h1{
        font-size: 2em;
    } 
    .dateinfo .timeinfo h1{
        font-size: .8em;
    } 
    .dateinfo .timeinfo h3{
        font-size: 1.5em;
    } 
    .dateinfo .addressinfo h1{
        font-size: .8em;
    } 
    .dateinfo .addressinfo h3{
        font-size: .8em;
    }  
    .one h5{
        font-size: .8em;
        margin-top: 9%;
    }
    
}
@media  screen and (max-device-width:540px) and (min-device-width:540px) {
    .one h1 {
        margin-top: 10%;
    }
    
}


/* 横屏 */
@media screen and (min-device-width:600px) and (max-device-width:1024px) and (min-device-height:650px){
    .one h1 {
        margin-top: 0%;
    }
    .one h2{
        font-size: 4em;
    }
    .one h3{
        margin: 2% 0;
    }
    .one h4{
        margin: 2% 0;
    }
    .one .dateinfo{
        margin: 5% 0;
    }
}

/* 手机横屏 */
@media screen and (min-device-width:560px) and (max-device-width:900px) and (max-device-height:500px){
    .one h1 {
        font-size: .8em;
        margin: 0%;
        padding: 0;
    }
    .one h2{
        font-size: 2em;
        margin-top: 0%;
    } 
     
    .one h3{
        font-size: 2.5em;
        margin-top: 0%;
    } 
    .one h4 {
        font-size: 1em;
        margin-bottom: 0%;
    }
    .dateinfo .yearinfo h1{
        font-size: 1em;
    } 
    .dateinfo .timeinfo h1{
        font-size: .5em;
    } 
    .dateinfo .timeinfo h3{
        font-size: 1em;
    } 
    .dateinfo .addressinfo h1{
        font-size: .8em;
    } 
    .dateinfo .addressinfo h3{
        font-size: .5em;
    }  
    .one h5{
        font-size: 5px;
        margin-top: 0%;
    }
}
@media  screen and (min-device-width:768px) and (max-device-width:770px) and (min-device-height:900px){
    
    .one h1 {
        margin-top: 14%;
    }

}
@media  screen and (min-device-width:1024px) and (min-device-height:1000px){
    
    .one h1 {
        margin-top: 16%;
    }

}